ThinkGeo.com    |     Documentation    |     Premium Support

Can't zoom after adding bitmap pointshape

I add bitmaps as pointshapes with a rotation angle by doing what is suggested in this post: Rotated Points and Text

The bitmap and rotation of that bitmap show up on the map fine, but for some reason the zoom in/out no longer works. Panning works fine, but zoom in/out seem to be disabled. I’m not getting any exceptions thrown. It’s only AFTER I add a bitmap.

Any ideas what could cause this?

Thanks.

Update: so it’s not just the bitmap, it’s when I add any feature to the layer.

This is an InMemoryFeatureLayer that I’m adding features to. The zoom works fine when adding ponits/shapes/etc. to the trackshapelayer.

Hi Dan,

Please try to rebuild index after you modify the feature.

If that don’t works, could you please upload a sample so we can look into it?

Regards,

Ethan

What would I rebuild the index of?

Edit: Restarted my comp and now it’s working fine. Weird.

Hi Dan,

That’s strange to fix it by restart your computer, if you met any update later please let us know.

Regards,

Ethan