We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Symbols on map

hi, 

I have several questions:
1. Can I add images to the map without adding a shape layer ?My main background is an image, and not a shp file. 
2. Where can i get more information about LatitudeLongitudeType="Custom".
3. Is there any build in component for map drawing (polygons, polylines, circles...)? Drag and drop icons?
4. After adding a symbol in a shp layer, how can I declare that the user can't move this symbol?
5. Can i implement my own layer? for example a RasterLayer? Any good practice about it?

thank you

1 Reply

JO Joy Oyiess Rex  K Syncfusion Team April 4, 2013 12:50 PM UTC

Hi Aviad,

Thanks for using Syncfusion products.

Please find the response for your queries,

Query

Response

Can I add images to the map without adding a shape layer? My main background is an image, and not a shp file.

We cannot add Image instead of shape file layer in the map control

 Where can i get more information about LatitudeLongitudeType="Custom".

We can set the LatitudeLongitudeType="Custom" by specify a “LatLonConverter” property for it,

But there is some issue by using this property

 Is there any build in component for map drawing (polygons, polylines, circles...)? Drag and drop icons?

Yes, There are many tools available for draw(polygons, polylines)  in the map Such as,

·         ArcGIS

·         QuantumGis

  

After adding a symbol in a shp layer, how can I declare that the user can't move this symbol?

There is no property to restrict the movement of the symbols, but we can achieve this scenario by set the “IsHitTestVisible” property of the MapSymbols as false.

 

Code Snippet:

<maps:MapSymbols

       IsHitTestVisible="False"

Latitude="46"Longitude="-119"    SymbolText="Cloudy" >

                               <maps:MapSymbols.Symbol>

   <Image Source="{StaticResource Cloudy}"

       Height="25" Width="25"/>

                                </maps:MapSymbols.Symbol>

Can i implement my own layer? for example a RasterLayer? Any good practice about it?

Currently, the Map control supports only “ShapeFileLayer” and “BingMapLayer” alone.

 

To provide solution for the issue with “Converter issue while set LatitudeLongitudeType property as Custom", we would request you to create a new incident through Direct Trac Support System. You can login to your Direct-Trac account by navigating to the below link.  Please use the credentials and password that are provided by our sales team to create an incident.

Direct Trac Support System Link:
http://www.syncfusion.com/account/Logon

Please let us know if you need any further assistance. We would be happy to assist you.

Regards,

Joy Oyiess Rex.K


Loader.
Up arrow icon