mapType

sets the Google map type

string mapType;

Values

  • "ROADMAP"
  • "SATELLITE"
  • "HYBRID"
  • "TERRAIN"
  • Example

    webix.ui({
        //provide your own Google API key
        key:"AIzaSyAi0oVNVO-e603aUY8SILdD4v9bVBkmiTg",
        view:"google-map",
        id:"map",
        zoom:6,
        center:[ 48.724, 8.215 ],
        mapType:"HYBRID"    
    });


    Default value:

    "ROADMAP"

    Uppercase is a must.

    Related samples

    Back to top
    Join Our Forum
    We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.
    If you have not checked yet, be sure to visit site of our main product Webix lightweight js framework and page of JavaScript Map product.