Windows Phone 8 Just Prevent Map Control to Scrolling - windows-phone-8

I am new in windows phone 8 development. I have a map containing the layer where I can dragging the line from one point to another, but the problem arise is whenever I am going to draw line over map the whole map is moving.
How should I stop just the map scrolling with out make disable the other user interaction features of map control?

Set one of these properties to false, whitchever suits You best:

Related

MarkupCore - Applying pan and zoom from drawing to multiple markups

I have a few hundred markups that were loaded with MarkupCore on some drawing (v1).
Right now, I have a new version of that drawing (v2) that has different dimensions. Instead of creating all the same markups for that new version, I've copied all the markups in v1 to be used in v2. Since the new version has different dimensions, the position and zoom of the new markups are slightly off.
I have a way for a user to go in v2, without showing the new markups, and pan and zoom until they're sure the drawing placement is right.
How can I extract and apply the pan and zoom that the user applied to drawing, to all the markups, so that their placement is correct?
As I know, markups generated by MarkupCore ext don't contain zoom and pan info. Instead, we suggest getting the zoom and pan info (i.e. camera status) via viewer.getState() and restoring it by viewer.restoreState(viewerStatePersist). See https://forge.autodesk.com/blog/using-autodeskviewingmarkupscore-extension
Therefore, if your user changed the zoom and pan info on the v2 drawing, you can call viewer.getState() again to get new camera status and replace the original one stored in your database(!?).
If just want to get new camera status, we can call the API like this viewer.getState({ viewport: true }).

Bing Maps Windows Store 8.1 Show All Pins

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).

Can we determine where a Live Tile was tapped?

I was curious if it's possible to determine, in Windows Phone 8, where in the area of a Live Tile was a tap made. So if a Live-Tile is tapped in the lower right, would we be able to somehow determine this when it passes it's function to the app? Such as maybe x,y pos, or color, offset, any info at all?
The only information the OS gives you about the tile that was tapped is the URL that is associated to it. While it allows you to guess which tile was tapped, it doesn't give any relevant information about how the tile was tapped.
One workaround could be to use small tiles. You can simulate one medium tile by creating 4 small tiles, and you will be able to know which one of the four was tapped.

Clickable markers on GTileLayerOverlay

I have a web application that needs to display 30,000 markers on a map at the same time. I don't want to use any kind of clustering. I need them to all be displayed.
I also need them to be clickable. The user can click on each point and a popup will come up with information about that point. Even at a low zoom level when there are thousands of markers in a single 256x256 square, the user needs to be able to click on them. It may be cumbersome for the user to click on a point thats bunched up with hundreds of other points, but if there happens to be one marker in the middle of nowhere, I want the user to be able to click on it right there instead of having to zoom in.
How do I do this? I know it's possible because I watched a video on google video where this guy creates a GTileLayerOverlay app that had clickable markers. He didn't explain how it was done though.
Is my only option to just remove the GTileLayerOverlay at high zoom levels and replace it with a true GMarker layer? I really don't want to do that. It seems over engineering to me.
If you were me, how would you go about this?
I found this example is in the Google Maps API Demo Gallery:
Clickable Tile Layer
This example creates a custom map type (GMapType) that shows regional borders and squares for county centers. When the squares are clicked, an info window opens with information about that county. The clickability is accomplished by passing in information about clickable pixel bounds in the cookies attached to the tiles, and doing a client-side check on mouseover for whether the mouse position was within the pixel bounds.
Here's some commentary on his method.
I don't have any experience with GTileLayOverlays, but I believe it is possible to accomplish what you're trying to do without using GMarkers.
Would it be possible to utilize clustering if each cluster could bring up a list of the markers it represents? It seems like having 30,000 markers visible at once would be visually confusing and difficult to navigate .

Controlling GDirections mini-popup-maps

I am using the Google Maps API to code a campus map for my university. On the main map, when it is being viewed in the "Map" maptype, there is a custom overlay of the campus, which is set (by using GEvent.addDomListener) to be removed when the map is viewed in Satellite or Hybrid mode. When the user gets directions, through my map, to and from the campus, a polyline and 2 markers show up, like normal. When the marker is clicked, a small popup map is display, focused on the area of campus around that particular marker.
I was wondering if anyone knew of a way to set attributes of these mini-popup-maps. I need to extend the event listener to make sure that the overlay gets taken off when the mini map is clicked out of "Map" mode. I also need to be able to set the zoom level for these maps.
Any ideas?
(code can be provided as needed, wasn't really sure what parts would be needed and didn't want to post the whole f'n thing up here.)
Doesn't look like there are any built in options to modify the infoWindow you get from the GDirection markers, but you can explicitly replace the markers once you get them back.
This post describes the process.