Comments (3)
Hi Nils,
Thanks for raising this. I will look into whether using an alternative delimiter for the two numbers is a suitable solution - I suspect it would be.
In the meantime, another workaround is to use the period (.) as the decimal point, e.g.
-25.23414,-53.12341243
Cheers
from jk64-plugin-simplemap.
I guess the work around does not work, because that is how I started as I just copied a position I had gotten from google maps. Actually I don't mind putting a dot as decimal separator, but if I put -25.23414,-53.12341243 I get an error which I traced down to to_number.
On my system if I do the following
to_number('-25.0');
I get ORA-06502: PL/SQL: error : error de conversión de carácter a número numérico o de valor.
With
to_number('-25,0');
it works though. This is because it depends on the configuration of nls_numeric_characters.
Obviously I cannot insert the values like this -25,23414,-53,12341243 because the string is split on ','.
Anyway I just changed the following to lines of the plugin:
l_lat := to_number(substr(l_latlong,1,instr(l_latlong,';')-1));
l_lng := to_number(substr(l_latlong,instr(l_latlong,';')+1));
Now I can use the comma as decimal separator (which I have to due to the system configuration) as the string is split on the ';': -25,23414;-53,12341243
I hope this clarifies the issue a bit.
Thanks a lot for your efforts.
Cheers
from jk64-plugin-simplemap.
I see - thanks for the clarification.
from jk64-plugin-simplemap.
Related Issues (20)
- Geolocate
- Marker HOT 4
- Put all js functions in a scope
- Separate attribute to disable zoom/pan HOT 6
- Update map on the basis of coordatinates HOT 9
- Plugin does not work on mobile theme
- Get Address, Postal Code and Country in separate elements HOT 2
- Insufficient results found Alert on Dynamic Actions address HOT 2
- Where do you set the Google API Key
- Oops! Someting went wrong HOT 2
- Allow multiple maps on same page
- Google Maps API key now required
- Delay map load until page is loaded
- Support geocode search
- Don't allow NLS settings to dictate number format for javascript
- Modal popup - warning "You have included the Google Maps API multiple times on this page." HOT 1
- Add Map Style attribute
- Reverse geocode
- Demo app not available HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jk64-plugin-simplemap.