Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visualize page: tileResolutionRatio attribute is incorrect #251

Closed
atruskie opened this issue Jan 13, 2016 · 0 comments
Closed

Visualize page: tileResolutionRatio attribute is incorrect #251

atruskie opened this issue Jan 13, 2016 · 0 comments

Comments

@atruskie
Copy link
Member

Instead of reading (note the tileResolutionRatio attribute)

<g class="tiles" clip-path="url(https://staging.ecosounds.org/visualize?projectId=397&amp;extent0=1286892109721&amp;extent1=1286892190068#distributionDetailTilesGroup_14)" 
actualResolution="0.0337"
 tileSize="6.062" tileResolution="0.02" 
tileResolutionRatio="0.59" 
transform="translate(0,49)">

It in fact reads:

<g class="tiles" clip-path="url(https://staging.ecosounds.org/visualize?projectId=397&amp;extent0=1286892109721&amp;extent1=1286892190068#distributionDetailTilesGroup_14)" 
actualResolution="0.0337"
 tileSize="6.062" 
tileResolution="0.02"
 tileResolutionRatio="function (){return fb.length>0?(fb[0].resolution/Ka.resolution).toFixed(4):void 0}" 
transform="translate(0,49)">

The function's string is being set as the arribute

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant