Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

DnD and custom basemaps #43

@tr3vorm

Description

@tr3vorm

I have just discovered that I cannot add CSV files to custom basemaps (e.g. NZTM SRID=2193), however adding shapefiles seemed to work fine. I tried with both geographic and rectangular coordinates.

A quick and dirty fix for me was to just remove the transformation from the following on line 579 (my version may be out of date).
var geometry = webMercatorUtils.geographicToWebMercator(new Point(longitude, latitude));
so that it just used the raw basemap coordinates (rectangular).
var geometry = new Point(longitude, latitude);

I am trying to get my head around what is expected, and how I can make a more permanent fix. Do I just need to make the changes in the processCVSData() function? Typically, users like to add lists of WGS-84 geographics coordinates from a GPS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions