fridek / gmap Goto Github PK
View Code? Open in Web Editor NEWjQuery plugin for Google Maps V3 API
Home Page: www.smashinglabs.pl/gmap
License: MIT License
jQuery plugin for Google Maps V3 API
Home Page: www.smashinglabs.pl/gmap
License: MIT License
Works fine in FireFox and Safari but IE 7,8,9 don´t show a map or any JS-Error. Without the markes it works in IE too.
detect if using https and use it instead of http://www.google.com
We at VersionEye are working hard to keep up the quality of the bower's registry.
We just finished our initial analysis of the quality of the Bower.io registry:
7530 - registered packages, 224 of them doesnt exists anymore;
We analysed 7306 existing packages and 1070 of them don't have bower.json on the master branch ( that's where a Bower client pulls a data ).
Sadly, your library fridek/gmap
is one of them.
Can you spare 15 minutes to help us to make Bower better?
Just add a new file bower.json
and change attributes.
{
"name": "fridek/gmap",
"version": "1.0.0",
"main": "path/to/main.css",
"description": "please add it",
"license": "Eclipse",
"ignore": [
".jshintrc",
"**/*.txt"
],
"dependencies": {
"<dependency_name>": "<semantic_version>",
"<dependency_name>": "<Local_folder>",
"<dependency_name>": "<package>"
},
"devDependencies": {
"<test-framework-name>": "<version>"
}
}
Read more about bower.json on the official spefication and nodejs semver library has great examples of proper versioning.
NB! Please validate your bower.json with jsonlint before commiting your updates.
Thank you!
Timo,
twitter: @versioneye
email: [email protected]
VersionEye - no more legacy software!
It seems that the infowindowanchor property is initialized with (9,2) and remains always the same, even if you set other values they're not populated.
In my case the anchor is always on top of the graphic icon / pin, not at the place where the pin points at.
Why does the min version have a link like:
MarkerImage("http://thydzik.com/thydzikGoogleMap/markerlink.php ... ?
this is not in the .js file.
Hi
For some reason, this property is not working when the map is initialize.
Nothing happen, no error, nothing... Any ideas?
I noticed that the "data('gmap').marker" value is not emptied after a call to removeAllMarkers in the 3.1.0 version.
I am not sure whether it really is a bug or a feature (for performance improvements), that is why I prefered creating a ticket instead of a pull request.
Can you please tag the last version, so that it can be used with bower.
When i add markers after an AJAX call, the markers get added nicely but the autoZoom function doesn´t bring them in view. How can i fix this? I also tried your 3.3.0 alpha version but no improvement :(
Here is my AJAX call:
$('form').submit(function() {
$.ajax({
url: 'process.php',
dataType: 'json',
data: $(this).serialize(),
success: function( data ) {
console.log( 'Sample of data:', data );
//window.console.log('You: '+youarehere.address);
map.gMap("removeAllMarkers");
//map.gMap("addMarker", youarehere);
map.gMap("addMarkers", data);
map.gMap('setZoom',"fit");
}// success end
}); // ajax end
return false;
});// submit end
and here the gmap init
map.gMap({
markers: [
latitude: 51.9243269,
longitude: 7.5146842,
html: 'Dülmener Straße 33, 48163 Münster, Germany',
],
zoom: "fit",
//latitude: "fit",
//longitude: "fit",
log: true
}); // gmap end
var map = $("#map_canvas");
map.gMap({
markers: [
{
address: "huron, ohio 44839"
},
{
address: "sandusky, ohio 44870"
},
{
address:" cincinatti, ohio"
}
],
zoom: "fit"
// latitude: "fit",
// longitude: "fit",
});
wondering why if i pass in lat/long it zooms correctly, but if addresses are passed in it breaks and only zooms to the last level.
is there a workaround for this beyond passing the address to the geocoder and plugging the lat/long back into the array?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.