MCPcopy
hub / github.com/apache/echarts / getMapForUser

Method getMapForUser

src/coord/geo/GeoJSONResource.ts:135–149  ·  view source on GitHub ↗

* Only for exporting to users. * **MUST NOT** used internally.

()

Source from the content-addressed store, hash-verified

133 * **MUST NOT** used internally.
134 */
135 getMapForUser(): {
136 // backward compat.
137 geoJson: GeoJSON | GeoJSONCompressed;
138 geoJSON: GeoJSON | GeoJSONCompressed;
139 specialAreas: GeoSpecialAreas;
140 } {
141 return {
142 // For backward compatibility, use geoJson
143 // PENDING: it has been returning them without clone.
144 // do we need to avoid outsite modification?
145 geoJson: this._geoJSON,
146 geoJSON: this._geoJSON,
147 specialAreas: this._specialAreas
148 };
149 }
150
151}
152

Callers 2

installFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected