Nick McAlonan
Top achievements
Rank 1
Nick McAlonan
asked on 09 Mar 2010, 05:14 PM
We have a requirement to display a large image on a map image where we display XAML objects over the map
I can see its simple to add the objects but having trouble figuring the image to use, I was wondering whether its posible to link the Telerik Map control to Silverlight Deep Zoom to create a zoomable image?
I can see its simple to add the objects but having trouble figuring the image to use, I was wondering whether its posible to link the Telerik Map control to Silverlight Deep Zoom to create a zoomable image?
5 Answers, 1 is accepted
0
Hi Nick,
You can add the MultiScaleImage object to the information layer the same way as any other FrameworkElement.
<
map:RadMap
Name
=
"radMap"
>
<
maps:InformationLayer
Name
=
"informationLayer"
>
<
MultiScaleImage
Height
=
"200"
Width
=
"200"
maps:MapLayer.Location
=
"37.684397,-95.06924"
Source
=
"http://localhost/GeneratedImages/dzc_output.xml"
/>
</
maps:InformationLayer
>
</
map:RadMap
>
But it seems you should use the ZoomChanged event of the map to recalculate its size and viewport parameters.
We would appreciate if you describe your scenario in more details and give us a screenshot of desirable result.
Best wishes,
Andrey Murzov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Nick McAlonan
Top achievements
Rank 1
answered on 16 Mar 2010, 11:10 AM
Our basic requirement is to display a custom map image, using GIS points for the data, but we dont want to display "the World" as such but just a section as we know the max/min bounds of our maps.
I tried creating a Custom map source where I use a custom deepzoom source for the backround, which I have working.
But when I overide the max/min latitude and longitudes to be the bounds of my map, it makes to differance, the control seems to want to use world coords to plot.
Is it posible to only display a section map and not the "world" and still use GIS points to plot items?
I tried creating a Custom map source where I use a custom deepzoom source for the backround, which I have working.
But when I overide the max/min latitude and longitudes to be the bounds of my map, it makes to differance, the control seems to want to use world coords to plot.
Is it posible to only display a section map and not the "world" and still use GIS points to plot items?
0
Hi Nick,
Unfortunately, currently there is no easy way to limit region displayed on the map.
In theory, it is posible to display a section map only using a custom tile provider, because you can return "null" from the GetTile method for regions your source doesn't cover.
But this process has an important restriction - the tiles you provide should cover a part of map that is a part of the world's map grid. For example first zoom level contains four tiles. Second divides each quadrant to four parts, etc. So, the source you use should cover a region according to this grid.
Also you should calculate the geographic location of each tile in the GetTile method in order to determine the correct tile to return.
Regards,
Andrey Murzov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Unfortunately, currently there is no easy way to limit region displayed on the map.
In theory, it is posible to display a section map only using a custom tile provider, because you can return "null" from the GetTile method for regions your source doesn't cover.
But this process has an important restriction - the tiles you provide should cover a part of map that is a part of the world's map grid. For example first zoom level contains four tiles. Second divides each quadrant to four parts, etc. So, the source you use should cover a region according to this grid.
Also you should calculate the geographic location of each tile in the GetTile method in order to determine the correct tile to return.
Regards,
Andrey Murzov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Oded Zadok
Top achievements
Rank 1
answered on 24 Oct 2010, 09:47 AM
Hi,
I need to display a very large image (raster image) via RadMap control.
Is there a sample for implementation of MapProviderBase that use Deep Zoom?
I need to display a very large image (raster image) via RadMap control.
Is there a sample for implementation of MapProviderBase that use Deep Zoom?
0
Hello Oded Zadok,
I am afraid we do not have this kind of example on hand.
Kind regards,
Andrey Murzov
the Telerik team
I am afraid we do not have this kind of example on hand.
Kind regards,
Andrey Murzov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items