hi,
I am loading maps from sqlserver spatial tables and transferring them to inmemoryfeaturelayer for faster rendering.
and i have some other overlays like highlight,points,restriction.
but after zoomlevel 9 my map is loading very slow…
is ther anything i am missing here…
or do i have to optimize anything…
Thanks.
Map loading very slow after zoomlevel 9
Hi latitya,
Thanks for your post, sorry I didn’t see your detail codes, so I’m just guessing from your description.
Depends on your scenario, there are 2 situations may decrease your performance.
1. there are too many points in your pointoverlay, and it’s show zoomlevel start from zoom 9, you can check if your pointoverlay has any style has “ApplyUntilZoomLevel” and the value is 9. if this is the problem, you can consider show parts of the points start from zoom 9, parts of it start from zoom 10.etc
2. you have some restriction conditions to the sql query, and after zoom 9, this restriction gone, and bunch of sql result returned.if this is the problem, consider add more restriction at zoom 9 too.
If above does not hit the points, could you please provide more information to us? A self-contained sample is very helpful.
Regards,
Gary