Min/Max vertical pan with Linear Projection?
I have a map that uses a linear projection (EPSG:4326). This gives 1 row for every 2 columns. The map works fine, but there are rows of blank tiles above and below the map that "complete the square" so to say. Is there any way to lock the map so that it cannot be panned where these blank tiles are visible? They are adding unnecessary used memory to my app.
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?WMSMapProvider probably needs modifying so that getTileUrls will return an empty array for non-existent rows. This will solve the blank tile issue - I would question the need to do this for performance reasons, but it will make things look better for sure.
I don't have time to fix this one myself, but I'd be happy to apply a patch if you manage to fix it yourself. -
Inappropriate?Returning an empty array in my map provider does the trick for the memory. The reason I'm concerned about performance is that I'm animating layers (synced maps) over time (each period a different URL). 1 layer at 30 days is an additional 400MB and currently does not load correctly (20 days works). If you know of any way to get flash to compress its bitmap data in memory, I'd love to hear it. Ideally the program should handle 3 layers over 12 periods for a total of 36 frames, but right now flash's lack of native handling of PNGs is letting me down.
Loading Profile...



EMPLOYEE