I got another question.
I include Openstreetmaps via
<ig:XamMap.MapTileSource><ig:OpenStreetMapTileSource x:Name="openStreetsTileSource" /></ig:XamMap.MapTileSource>
But the maximum zoom factor is smaller than in the internet on openstreetmaps.org
Additionally it's not that sharp like on the website
I think I just cannot get the last step.
thanks,
henning
Hi henning,
In this case, to change the maximum zoom depth value, you can set XamMap's WindowZoomMaximum property to the desired value.
Hope that helps,Milana Zhileva
Thanks for the answer, but even if i set this to 100000 it does not change anything. Any other possibilities?
Thank you
Thank you.
Yes I am using 11.1
I commented out all my other code but i did not work. Your application did work.
but then I find the reason why it isn't working:
im my XAML Code i have the following in the <ig:XamMap>
<ig:XamMap.Layers> <ig:MapLayer x:Name="mapLayer" FillMode="RandomInterpolate" Brushes="red orange blue"> </ig:MapLayer> </ig:XamMap.Layers>
Without these lines of code it is working properly. I did not think that this would have an effect on zooming.
Is this normal, or should it wotk nevertheless?
if I add tjhe following to your sample code, it does also not work correctly:
<ig:XamMap.Layers> <ig:MapLayer > </ig:MapLayer> </ig:XamMap.Layers>
EDIT:
it does even not work if i left this piece of code out and add layers programaticlly with:
Dim roadLayer As New MapLayer() roadLayer.LayerName = "roadLayer" roadLayer.StrokeThickness = 2 reader = New ShapeFileReader() reader.Uri = "/../../Shapefiles/rivers" converter = New DataMapping.Converter() reader.DataMapping = TryCast(converter.ConvertFromString("Caption=NAME; ToolTip=NAME"), DataMapping) roadLayer.Reader = reader theMap.Layers.Add(roadLayer)
Thanks for your help!
Hi again,
By XamMap's design, when MapElements are added to a МapLayer, the WindowZoomMaximum is restricted to a specific value, so the behaviour you observe is normal. When only tile source is used, as it is the case in the sample application I sent, there is no such restriction.
If you like, you can submit a feature request on implementing this functionality, using the following form:http://devcenter.infragistics.com/protected/requestfeature.aspx
Best Regards,Milana Zhileva
Hi,
thanks for your answer.
I thougt the xammap is made for adding mapelements, isn't it? an empty geo-imaginery map I can view in the internet.
Is the restriction also on bingmaps or just on openstreetmap? Cause this restricted ZoomFactor won't be enough for our goals.
i will make a request for opening this restriction, any clue, how long such request will last, so is it worth waiting for it?
Kind regards
Henning
Hi Henning,
I have contacted our Development support team on your behalf and they will try to resolve the issue.
Regards,
Ivan Kotev
Thank you very much!
Hello Henning,
We have been looking into your requirement and since our Data Visualization controls are cross-platform, in order to provide means of creating consistent WPF and Silverlight counterparts of a project, we have had to comply with a Silverlight rendering limitation. However we have decided that it would be a good improvement to have this fixed for the WPF controls and so I have logged this with development under ID: 86295 and I have also created a support ticket on your behalf: CAS-72144-TNYQGW and have linked the development issue to it, so that you can get automatically updated, when a Service Release containing the fix is available for download. You can get the new version from our website’s “My IG”, “My Keys & Downloads” tags: https://ko.infragistics.com/Membership/Default.aspx?panel=Downloads#Downloads
You can also monitor the support ticket’s progress through the “My Support Activity” tag: https://ko.infragistics.com/Membership/MySupport.aspx