Support for Stamen

New home Forums Gold Add-on Pre-sale questions Support for Stamen

This topic contains 0 replies, has 1 voice, and was last updated by  magicpixel 5 months, 1 week ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #49412

    magicpixel
    Member

    Hi Guys

    Your plugin is very close to what I am after for several map based projects. I am wanting to utilize a map style from from Stamen
    http://maps.stamen.com/watercolor/#12/37.7706/-122.3782

    Can I do this in WP Googlemaps? If so, where?

    Thanks

    Pete

    —————————-

    // replace “toner” here with “terrain” or “watercolor”
    var layer = “watercolor”;
    var map = new google.maps.Map(document.getElementById(“element_id”), {
    center: new google.maps.LatLng(37.7, -122.4),
    zoom: 12,
    mapTypeId: layer,
    mapTypeControlOptions: {
    mapTypeIds: [layer]
    }
    });
    map.mapTypes.set(layer, new google.maps.StamenMapType(layer));

    #49418

    Perry
    Moderator

    Hi Pete

    Thank you for getting in touch.

    You can do that one of two ways, firstly you can use the JS you attached – you would need to alter that JavaScript a bit to target our map instead of creating a new one. We can give you the specific code to do so if you are able to link us to your map page?

    Alternatively, you can switch to the OpenLayers engine and select the Stamen Watercolour tile server from the menu provided there.

    Does that help?

    Kind regards
    – Perry

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.