staticMap

This is a Google Static Map service field. It's only show a static map.

Please note, for this field you need internet access to http://maps.googleapis.com site & maybe Google Maps API key!

Special properties of field

staticMapOptions

Usage

Show address on map by geolocation coords

{
    type: "staticMap",
    label: "Map",
    model: "address.geo",
    visible: false,
    staticMapOptions: {
        lat: "latitude",
        lng: "longitude",
        zoom: 6,
        sizeX:640,
        sizeY:640,
        scale: 1,
        format:"png",
        // maptype:"satellite",
        language:"FR-fr",
        // region:
        markers:"color:blue%7Clabel:S%7C43.107733,4.541936",
        // path:
        // visible:
        // style:"feature:road.highway%7Celement:labels.text.stroke%7Cvisibility:on%7Ccolor:0xb06eba&style=feature:road.highway%7Celement:labels.text.fill%7Cvisibility:on%7Ccolor:0xffffff",
        // key:
        // signature:
    }
},

Last updated