custom markers for googlemaps

  • hi klaus,

    it could be fine to add the following attributes in map plugin tag :

    marker1=""
    marker2=""
    markerXoffset=""
    markerYoffset=""

    then we may customise the map markers by loading any .png or .swf (for animated marker) over the map,
    with a conditional in the map plugin code ,
    if theses attributes are empty, else use the embbedded marker1.png and marker2.png from the googlemap plugin by default.

    the offset parameter allow placement of different markers size for lat/long placement

    See U

    *smile*

  • Hi there.

    It is kinda apart from krpano googlemaps plugin but at MooTools forums you may find a script I did for an easy to use javascript library for googlemaps with MooTools, called MooGooMaps

    And along with my other library, MooKrpano , you will be able to has the best from both worlds.

    See a simple example of both codes working together at:

    http://www.paraisoartesano.com/virtualview

    Note: Old IE versions won't display it well.

    What's better is that I always try these scripts being easy to use and opened for suggestions.

    The MooGooMaps script also has custom widgets (mini applications) I've done like DistanceMeter, What's Around Me and Find Me widgets.

    The Distance Meter Widget is for measuring distances...

    The What's Around Me widget is for displaying only markers around YOU

    and the Find Me Widget use HTML5 Gelolocalization API for finding your position on the map.

    By other side the MooKrpano will let you create panos on the fly using javascript, and also interfacing with your web site DOM elements, like buttons, menus, and else.

    Hope these will be usefull for you and that you may appreciate my effort for document and share them.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!