Quantcast
Channel: xamlmapcontrol Discussions Rss Feed
Browsing latest articles
Browse All 20 View Live

New Post: About dragging the pin to change the position of the pin on the map

XAML:<Style x:Key="PointItemStyle" TargetType="Maps:MapItem"> <Setter Property="helper:BindingHelper.LocationPath" Value="Location"/> <Setter Property="Foreground" Value="Black"/>...

View Article



New Post: About dragging the pin to change the position of the pin on the map

The PointerMoved event should not be handled on an element inside the item container's visual tree, because the item container is itself moving around (to the item's Location). Handle the event on an...

View Article

New Post: About dragging the pin to change the position of the pin on the map

Very grateful to ClemensF, I am a beginner, the following is the call to the map of XAML:<Maps:Map x:Name="PlanningMapControl" TileLayer="{Binding [OpenStreetMap], Source={StaticResource...

View Article

New Post: Load georeferenced tif

Alright, different problem this time. I am struggling with the coordinates mapping. I have a GeoTiff and coordinates extracted from it by GDAL. Can anybody confirm (could not find any hard evidence in...

View Article

New Post: Draggable Route Handles

Hi! After weighing several map controls, we decided on XAMLMapControl for our application, and for about a year now it has performed very well. However, two issues exist with our usage of it. I would...

View Article


New Post: Draggable Route Handles

LlaPosition.cs This is the replacement for Location. I have equivalent LlaPosition-oriented objects for the original converters and LocationCollection classes.public class LlaPosition : ReactiveObject...

View Article

New Post: Draggable Route Handles

DraggableMapPolyline.cs<UserControl x:Class="RAPT.Presentation.Controls.DraggableMapPolyline" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"...

View Article

New Post: Draggable Route Handles

DraggableMapPolyline.xaml.csusing System; using System.Linq; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Shapes; using MapControl; using...

View Article


New Post: Draggable Route Handles

MapView Snippet Here's a simplified version of the relevant parts of MapView. Note that Proxy is a link back to the top-level MapView DataContext (it stores the original DataContext in its Data...

View Article


New Post: Draggable Route Handles

End of Code Samples That concludes the code samples. Thank you for any help you can provide!

View Article

New Post: Draggable Route Handles

Sorry, but this is by far too much code to discuss it here. Try to strip it down to a comprehensible amount, i.e. a minimal but complete example that reproduces your issue.

View Article

New Post: About dragging the pin to change the position of the pin on the map

Sorry, this is not the right place for a beginner's education. Please do your own research. When you have a specific problem related to the map control, we'll be pleased to help.

View Article

New Post: Load georeferenced tif

Not sure what exactly could be unclear with the terms west, east, south and north. MapImage fills a rectangular area with theleft edge at the West longitude,right edge at the East longitude (hence West...

View Article


New Post: Load georeferenced tif

Ah... shame to admit, but I mixed longitude with latitude... that's why images were shown in strange places and with strange shapes... Thanks for the reply!

View Article

New Post: Draggable Route Handles

Understood. I will boil it down in the next day or so. I removed the code above -- will reply with minimal example soon.

View Article


Image may be NSFW.
Clik here to view.

New Post: Draggable Route Handles

Hi again, I've stripped it down and the problem persists. In summary: I have a draggable polyline class with "handles" that allow dragging individual points to new locations. A "route" is broken into...

View Article

New Post: Draggable Route Handles

Without having tested your code, I'm sure that<Setter Property="mapControl:MapPanel.Location" Value="{Binding}" /> in the ItemContainerStyle of the Handles MapItemsControl won't work, because the...

View Article


New Post: Draggable Route Handles

We did indeed substitute our own Location class which implements INotifyPropertyChanged (by inheriting ReactiveObject from the ReactiveUI library, which implements the interface with some helper...

View Article

New Post: Draggable Route Handles

And there is an implicit conversion from LlaPosition to Location?

View Article

New Post: Draggable Route Handles

I actually ended up modifying the whole MapControl codebase to use LlaPosition in lieu of Location. It has Latitude and Longitude as before, and I just mirrored your LocationCollection (now...

View Article
Browsing latest articles
Browse All 20 View Live




Latest Images