Comments (8)
Hi Barat,
thanks for reporting!
I believe a solution may be changing JSON keys from:
var test = {key_1: 'value_1', key_2: 'value_2'};
to:
var test = {'key_1': 'value_1', 'key_2': 'value_2'};
I'll check, when I'm home and push a solution.
Thanks again!
from kohana-google-maps-module.
It's not json but your default view. There You make whole <script> thing, but You leave last comma in each array/params ;)
For example here:
https://github.com/solidsnake/Kohana-Google-Maps-Module/blob/master/views/gmap.php#L36-43
You will get last "," in array + Error in IE ;)
from kohana-google-maps-module.
Alright, I pushed a bugfix - I tested it in IE 7 and 8. I hope it works for you aswell :)
from kohana-google-maps-module.
I fixed it by my own, no json - just changed if/else places to not include comma if not needed ;)
But Your solluton may be cleaner ;)
Thnking about geocode function? For example getting lat/lng from given address? ;)
BTW. Polygon and Polylines can make same bug because of comas ;)
from kohana-google-maps-module.
Mh, I thought about it - yes... But I'm not sure if that stuff belongs in this module. Also I believe there's already another module for that.
If you're looking for some great Kohana modules, take a look at https://github.com/ahutchings/kohana-modules
from kohana-google-maps-module.
Yes I used and Fixed one plugin for geocode (deprecated functions, some bad checking etc) and placed it inside Your module ;)
But this is just a sugestion ;)
from kohana-google-maps-module.
Well, if it's fully integrated you could send me a pull request :D
from kohana-google-maps-module.
Can't - old module. I found this one - pretier, cleaner ... and I think that only thng it have to be done is changing name to geocode and maybe remove "key" part, because v3 doesn't need keys ;)
https://github.com/guillermin/gmaps
from kohana-google-maps-module.
Related Issues (4)
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 kohana-google-maps-module.