When I have many small surface elements, they don't get drawn if I'm zoomed out too far. Is there a way to get them to be drawn?
Hello RVassar,
If you would like more granularity and control over the number of symbols displayed when zooming, I suggest you consider using the XamGeographicMap with a Symbol series as opposed to the XamMap/ When using the symbol series you can select a marker type (circle, diamond, square, etc.) to display for each point added to the series or you can create your own marker template to create a unique display. When using this series, you can throttle the number of markers for the map to display by setting the maximum markers property. If you would like to see all of the markers you can set this number higher or lower it for greater performance. Please see the following for more information on the symbol series:
http://help.infragistics.com/doc/Silverlight/2014.2/CLR4.0/?page=xamGeographicMap_Using_Geographic_Symbol_Series.html
Let me know if you have any questions.
Sincerely,
Valerie
Developer Support Supervisor - XAML
Infragistics
www.infragistics.com/support
I need to use a lot of the features that a XamGeographicMap doesn't offer, such as multiple layers, ElementClick, etc. I also can't just change the SurfaceElements to symbols. You would just see a bunch of symbols when you zoom in instead of the actual shapes. I just want to know if there is a way to force it to draw the shapes when you zoom out. It draws the big ones, but the small ones don't get rendered at all.
Hello,
As we mentioned in your other case, when using symbol elements in the XamMap they will appear the same size at any zoom level unless specifying the VisibleFromScale property which can make them disappear at certain zoom levels. As far as, using surface elements in the XamMap there is currently no property that can be set to control the visibility of these objects when zooming. Again for this functionality it is recommended to use the XamGeographicMap. In this map, you can use a shape series to display the shapes and use the serie’s ShapeFilterResolution property to control the visibility of small map elements. In order to handle clicking on elements on the map you can use the series SeriesMouseLeftButtonDown event. You can also color the elements by styling the shapes in the series please see http://help.infragistics.com/doc/WPF/2014.1/CLR4.0/?page=xamGeographicMap_Styling_Shapes_in_Geographic_Series.html for more information. In the long run, the XamGeographicMap provides many more features and performance improvements which you may benefit from.
Please let me know if you have any questions.
Do you have any other questions on this matter?
Sincerely,Valerie Developer Support Supervisor - XAMLInfragisticswww.infragistics.com/support
No, I don't have anymore questions at this time.