Dragging two Google Maps simultaneously - maps

on a web page I want to show 2 maps canvas, one showing satellite view and the other showing map view but if I drag any of those canvas it will also move the other one in the same direction.
I tried Google but couldn't find any relevant info.

Related

Google maps api - right click context menu on user KML

I am wanting to get the right click context menu to work on top of a user KML. I am able to get a context menu working on the regular Google Map. But we have a user KML that is on top of the map, and I cannot get the same right click functionality to work on the KML.
I've tried adding the same events as I have on the regular map, but it does not work.
Specifically, the measure distance functionality. As mentioned, I can do that on the regular map, but not on our KML.
Any help would be appreciated.
Thanks

Ionic - Drag element from one view to another

I'm using the Ionic Framework to build a hybrid app and its heavily dependant on drag and drop features. Using the 'sidemenu' template I have created one main view, and two side menus.
The main view will use the Ionic Calendar to display data. The two side menus will be used as views where data will initial be stored in list form. I need to be able to drag elements from side menu and into the main screen, where they can then be dropped on the calendar.
All the events work perfect when in calendar view (ie. onClickItem, onClickTime, etc). The drag and drop call backs work fine too, when remaining in the side menu display area. However, when I try to drag the element out of the side menu area and into the calendar, only the onDragStop event is recognized and not the onClickTime event from the calendar.
I realize I'm trying to fuse a few things together here in a not so usual way. I can't even find anyone else making posts about the same thing. Maybe I'm making the wrong searches.
Any help, advice, or direction would be appreciated.

How to develop multi paint (on maps)

I want to develop a multi-paint: An application, which each user can paint route on a map, save the route, and in the end all the saved routes will be "merged" into one big picture (like layers in photoshop)
How should I save the routes? List of pixels to be drawn? Save it to picture (with transparent background?)
The application will be developed in WPF on bing maps (on touch device).
Thank you very much
You would have to save the latitude and longitude values of the route points, perhaps in a LocationCollection, which is part of the Bing Maps WPF Control API.
Simply saving the pixels wouldn't work when you want to be able to zoom the map.

google maps silverlight

I am working on silverlight 4 application and need to implement google maps in the same app.
Now to implement the google maps, i was planning to use WebBrowser control but when i used it i found out that it will run only in out of browser mode.
So, i decided to use another approach since i want to implement google maps inside of my application. I then used http://csharperimage.jeremylikness.com/2010/09/hosting-html-in-silverlight-not-out-of.html alternative which was having to use iframe to show web page there. It was seems to be good alternative in start. But Here comes another twist.
On top of my app, i have one top MENU for navigation, its a classic web menu, user hover over the menu item and its sub item will expand vertically.
Now just underneath the MENU i have above HTML control to display my map. Now since the HTML browser control has higher z-Index so my vertical sub menu is goes underneath the google map and hence it not visible.
And giving silverlight app higher z-Index the iframe for HTML does not show up as it goes behind the app.
So how can i get my HTML MAP and MENU both to work? If you guys have any other alternative to implement google maps then please let me know
Thanks
I would recommend using the Silverlight Bing Maps control, with the tile-source set to Google Maps. This will give you the maps you desire, via a proper Silverlight control. You can find out about how to provide a custom tile source from Google here:
http://www.scottlogic.co.uk/blog/colin/2011/02/google-sky-on-windows-phone-7/

error in embedding deep zoom

I created a website separately first and then opened it in Expression web to insert the deep zoom image in, but I keep getting this error:
"Add the page to a site and then try to insert the deep zoom image"
I have no idea what to do next, could somebody please point me in the right direction?
Where are you inserting the image? Deep zoom image is not a single image. It is collection of images. One embeds the deep zoom player that comes with deep zoom composer into a web page to display those images. Did you use deep zoom composer for creating deep zoom images? You can try http://www.imagesurf.net which allows online automated deep zoom/open zoom of photos and also allows to embed it in your web page. I am affiliated with the site.

Resources