Skip to content

Commit

Permalink
store OBJECTID tag relates to #13
Browse files Browse the repository at this point in the history
  • Loading branch information
mapmeld committed Jul 8, 2017
1 parent bdeae1a commit 0a62c0c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/svg/geoservice.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ export function svgGeoService(projection, context, dispatch) {
visible: true
};

// don't bring the service's OBJECTID any further
// store the OBJECTID as source_oid
props.tags['geoservice:objectid'] = props.tags.OBJECTID;
delete props.tags.OBJECTID;

// allows this helper method to work on nodes and ways
Expand Down

0 comments on commit 0a62c0c

Please sign in to comment.