themc
Forum Replies Created
-
for all you dutchiews out there in the new version you still need to do the steps i described above to fully m ake it dutch.
the navigation text (go left here and stuff) is still english and have to be set manually.
also in the javasrcipt file lookup the text “Get directions” and translate it into route berekenen. save the file and then it should all be golden.
thnx alexanderzagniotov for updating the plugin with the stuff i created its making this plugin standing out of all other google plugins out there for wp.
sure u can mail me at [email protected]
comprehensive-google-map-plugin.php and the functions.php you can fund the lang is set to EN standard. you can change them to any language code described in the functions.php
set both the standards in comprehensive-google-map-plugin.php and function for example to nl for the dutch directions.
this can be used together with the mo and po files to fully translate the plugin
Forum: Plugins
In reply to: [Comprehensive Google Map Plugin] KML latitude/longitude/zoomhey you can use my script to get geolocation working and zoom in on your clients / users position.
regarding to your kml question
u can always ajust the js to setzoom on a location. (this can also be found in my posts)
the next thing im gonna work on is making the map responsive so you can use it without resizing for mobile / tablets devices.
i got it all fixed including the to here from here.
so the script is finally complete.
halleluja!!!
download it if you want.
Forum: Plugins
In reply to: [Comprehensive Google Map Plugin] Geo Mashup map no longer workingsounds to me like your script is broken.
if i where you it reinstall the framework.min.js file with a fresh copy.
(taken you can fix the jquery issue.)
hey elliotgarber.
still having problems. i found that deleting the duplicate mashupbubble is a bad idea. it breaks allot of the plugin.
small fix i noticed while testing i deleted the
$(dirDivId + ‘ input#b_address’).val(addy); from the first field.
this makes it so the to here wasnt working correctly you can fix it by putting the line above under the input a value by searching for addy in the script.
or bij replacing the following content
[ Moderator note: please wrap code in backticks or use the code button. ]
var addy = marker.content; addy = addy.replace("Lat/Long: ", ""); $(parentInfoBubble + ' a.dirToHereTrigger').live("click", function() { var thisId = this.id; if (thisId == 'toHere-' + localBubbleData.bubbleHolderId) { $(dirDivId).fadeIn(); $(dirDivId + ' input#a_address').val(''); $(dirDivId + ' input#radio_km').attr("checked", "checked"); } }); $(parentInfoBubble + ' a.dirFromHereTrigger').live("click", function() { var thisId = this.id; if (thisId == 'fromHere-' + localBubbleData.bubbleHolderId) { $(dirDivId).fadeIn(); $(dirDivId + ' input#a_address').val(addy); $(dirDivId + ' input#b_address').val(''); $(dirDivId + ' input#radio_km').attr("checked", "checked"); } }); <strong>with </strong> var addy = marker.content; addy = addy.replace("Lat/Long: ", ""); $(parentInfoBubble + ' a.dirToHereTrigger').live("click", function() { var thisId = this.id; if (thisId == 'toHere-' + localBubbleData.bubbleHolderId) { $(dirDivId).fadeIn(); $(dirDivId + ' input#a_address').val(''); $(dirDivId + ' input#b_address').val(addy); $(dirDivId + ' input#radio_km').attr("checked", "checked"); } }); $(parentInfoBubble + ' a.dirFromHereTrigger').live("click", function() { var thisId = this.id; if (thisId == 'fromHere-' + localBubbleData.bubbleHolderId) { $(dirDivId).fadeIn(); $(dirDivId + ' input#a_address').val(addy); $(dirDivId + ' input#b_address').val(''); $(dirDivId + ' input#radio_km').attr("checked", "checked"); } });as promised the screenshot.
watch it before the link expires.
http://tinypic.com/r/25ezn6e/5
+ if somebody could help me with the directions from here or to here (geolocation start point) part…. it would make my day.
anybody that can help with linking start pos A to the users gps coordinates ?
point b will be auto filled by the mashup ussing the addy part.
Forum: Plugins
In reply to: [Comprehensive Google Map Plugin] geolocation with navigation from start pos.mylocation is the placemarker pin
does your plugin have the same functions as this plugin ? mashup map and link to posts ? geolocation and stuff ?
feel free to make the script better
ive updated my script so it shows a marker and text balloon at the users current position. zooming on location will happen after a few secs.
what the file does:
*its working with the lastest wp 3.6
*it activates geolocation (user positioning)
*it zooms in on geolocation and input the text ballon location found + a pin.*still need to find out (need help with) direction point a linking to coords from user position.
the prob is i cant recall on the geoloc function since it is used at the beginning of the script where is
$(parentInfoBubble + ' a.dirToHereTrigger').live("click", function() { var thisId = this.id; if (thisId == 'toHere-' + localBubbleData.bubbleHolderId) { $(dirDivId).fadeIn(); $(dirDivId + ' input#a_address').val(pos); $(dirDivId + ' input#b_address').val(addy); $(dirDivId + ' input#radio_km').attr("checked", "checked"); } }); $(parentInfoBubble + ' a.dirFromHereTrigger').live("click", function() { var thisId = this.id; if (thisId == 'fromHere-' + localBubbleData.bubbleHolderId) { $(dirDivId).fadeIn(); $(dirDivId + ' input#a_address').val(addy); $(dirDivId + ' input#b_address').val(''); $(dirDivId + ' input#radio_km').attr("checked", "checked");[Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
is furthermore inside the script.
i cant recall the ” to use my geolocation i created earlyer.can you maybe take a look at it ?
the prob is that i cant recall on the var pos.
this make it so that i cant recall on my geolocation at the adress field around the bottom of the script.
else i could use the location and if needed format the output to lat/long like the addy part.
ive updated my script so it shows a marker and text balloon at the users current position. zooming on location will happen after a few secs.
cmpg.framework.min.js replace the content from your file in /js with this file.
what the file does:
*its working with the lastest wp 3.6
*it activates geolocation (user positioning)
*it zooms in on geolocation and input the text ballon location found + a pin.*still need to find out (need help with) direction point a linking to coords from user position.