* Only for exporting to users. * **MUST NOT** used internally.
()
| 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 |
no outgoing calls
no test coverage detected