register


Description:

[ Version ( since = "0.10" ) ]
public bool register (MapSourceDesc desc)

Registers the new map source with the given constructor.

When this map source is requested, the given constructor will be used to build the map source. MapSourceFactory will take ownership of the passed MapSourceDesc, so don't free it.

Parameters:

this

A MapSourceFactory

desc

the description of the map source

Returns:

TRUE if the registration suceeded.