Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I was wondering if its possible to change the output format of the datatype so I can mix it with other data for csv export. What I'm getting now is 42.537529,-83.01683000000003,13 (I'm not sure what that "13" is) and what I'd like is "42.537529","-83.01683000000003". Is this just something to be tackled with xslt / razor?
The '13' is the zoom level for that point on the map.
The source code for this code is available so it should be feasible to change the output in the source and recompile, but a simpler solution would be to run the output through an XSLT or razor macro to split the values and concatenate them with quotations (or replace commas with quote-surrounded commas and prepend and append quotes to the string) to produce the format you require. I'd personally do the macro route rather than changing the package as you're then likely to maintain forward compatibility.
Good luck with it.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted