JS API
Map Object
QueryEngine Object
Layer Object
Feature Object
Query Object
GeoJson Function Library (Experimental)

clearStyle

Clears all client-side styles that were applied to a layer.

Parameters

No parameters.

Example

var map = new Mapzania.Map("map-div", "WORLD");

map.usingLayer("COUNTRIES")
    .clearStyle()
    .update()