Class: GeoScale

GeoScale()

The GeoScale model stores the relative scale of the map in meters vs. pixels. This can be used to convert between the two.

Constructor

new GeoScale()

Since:
  • 2.27.0
Source:

Extends

  • Backbone.Model

Members

type :String

The type of model this is.
Type:
  • String
Source:

Methods

defaults()

Overrides the default Backbone.Model.defaults() function to specify default attributes for the GeoScale.
Source:

validate(attrs)

Validate the model attributes
Parameters:
Name Type Description
attrs Object The model's attributes
Source: