In Windows phone 8 is possible to add UIElements at specific GeoLocation using MapOverlay. Or draw a polygon which will be resizable according to zoom level with MapPolygon. But I can specify only fill color for such polygon. I need to draw an image overlay at a specific GeoLocation boundaries, and resize it the same way MapPolygon does. Is there are any way to achieve this?
UPDATE: Found this question How to create auto-scalling image lying on WP8 maps
Related
How do I add an image to google maps that has bounds? I have a rectangle image and would like to layer it on the map using its north-east and south-west points. Since the image is location based, I also want that image to re-size when the user zooms in and out.
Also posted on Xamarin forums: https://forums.xamarin.com/discussion/92528/can-i-add-an-image-to-google-maps-with-bounds
The Bing Maps Control for Windows 8.1 universal runtime (I'm using Windows Phone) has a built in behavior of only showing pins with no overlap. If you add 100 pins to the map, but any overlap each other, one of "touching" pins will be removed. You must zoom in until there is enough room to show both without them overlapping. How do I turn off this behavior? The map knows it has 100 pins as children, but it may only show a dozen or so due to the no-overlap logic.
I want to show all pins on the map, regardless if they overlap.
This only happens if you use MapIcon's. Instead, create pushpins using a UIElement and add it to the Children property of the map. This is a very common way to create custom pushpins in all of the Bing Maps controls (Silverlight, WPF, WP7/8/8.1, Win8/8.1/10).
I am implementing a Google Maps for iOS SDK map in my app. I have a UISlider that controls the level of zoom in the map. I want to be able to have the map zoom in on a point that is not directly in the center of the map -- and after zooming in, this point should be offset from the center of the map by the same number of pixels as before.
I tried setting mapView.layer.anchorPoint to an off-center point, but if I do that, then it screws up the map drawing and it draws the whole map off-center, leaving black areas.
I tried zooming in on the point itself, but that moves it to the center of the map, which I don't want.
Is there a convenience method for simply telling the SDK to treat a different point other than the direct center, as being the "fulcrum", if you will, of the zooming?
I want to be able to type in a number for a radius. Then whenever I hover over any given pushpin on the map it will show a circle with that radius.
Then if I would be able to grab a list of pushpins within that radius when you hover over the pushpin that would be awesome too.
Thanks
You can find a module for Bing Maps V7 that adds support for circles here: https://bingmapsv7modules.codeplex.com/wikipage?title=Circle%20Module
I have a marker of a rocket on one of my Google Maps apps. Not surprisingly, I need to rotate it depending on where it's headed. How can I do that? Rotating the image with a canvas/VML (like jquery-rotate does) appears to be not an option, because I need to specify a URL as the image source, not an <img> element.
The best cross browser way would be to create a sprite with the marker at different angles, and vary the Marker's size attribute depending on the angle.
The other non-cross browser way would be to use CSS3 transforms, and you'd probably want to create a custom Overlay in order to do this. Alternatively, draw onto the map with canvas. Though, you won't get a dom element to capture click events.
You can make more versions of that image (for the rotations) and use the url of the image you want.