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
    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.