• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Autodesk MapGuide Enterprise Developer

    Reply
    Member
    jane911
    Posts: 4
    Registered: ‎09-29-2010

    overview maps

    406 Views, 1 Replies
    09-29-2010 02:36 AM

    hi, i want to create an overview map into basic web layout .have you got any idea please

    Please use plain text.
    Mentor
    Posts: 242
    Registered: ‎10-10-2003

    Re: overview maps

    01-06-2011 08:24 AM in reply to: jane911

    This is a tricky one.

     

    1.   I would create a popup window or an IFRAME with a map inside. 
    2. The map I would use is an OpenLayers.org map. 
    3. I would set up event hooking in the MAIN map with http://trac.osgeo.org/mapguide/wiki/CodeSamples/JavaScript/AJAXViewerEventHooking to watch the map and send extents to the overview map.
    4. If you wanted to get really tricky, you can draw a box using the OpenLayers.org API using the extents sent from step 3.

     

    regards

    gordon

     

     

     

    Please use plain text.