set_map_source


Description:

public void set_map_source (MapSource map_source)

Changes the currently used map source.

unref() will be called on the previous one.

As a side effect, changing the primary map source will also clear all secondary map sources.

Parameters:

this

a Map

map_source

a MapSource