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

update

Updates the feature's layer. This is typical done to make style changes as per the example below.

Parameters

No parameters.

Example

var map = new Mapzania.Map("map-div", "AFRICA", function () {

map.usingLayer("COUNTRIES")
	.usingFeature("107")
		.style({ fillColor: "#FF0000"})
		.update();