themc
Forum Replies Created
-
is it me or are the geo mashup messages changed.
when looking at the geo mashup map i get latitude and longitude coords instead of a link to the advertisement (geo post)
im struggeling with this part …
$(parentInfoBubble + ‘ a.dirToHereTrigger’).live(“click”, function() {
var thisId = this.id;
if (thisId == ‘toHere-‘ + localBubbleData.bubbleHolderId) {
$(dirDivId).fadeIn();
$(dirDivId + ‘ input#a_address’).val(location);
$(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”);
}
});im using (location) for the input a adress field in to here.
this will get the location but its the location of the website instead of the persons geo location. when using pos or position or current position it breaks the script. anybody here with enough knowledge to give it a push ?
its not affecting my coding.
everything works great. im currently struggeling to get directions field A filled in by the gps coordinates of the user.
since point B is auto filled with a mashup mode.
hey vjblaze unfortunately i cant show my page in action its running with advertisements and info thats customer related only. our company wont allow a login and password in the wild.
Forum: Plugins
In reply to: [IDB Support Tickets] It asks to login or to registerhello,
is the a way to delete the register and login part. so peeps can only make the tickets by entering the mail part ?
it might be a combination of alle factors.
settings from the php.
the google api maximum allowance
and the duplicate addmarkermashupbubble=”true”i have 94 items and only 51 get loaded but its a start from 20 30 items in the past
hey jimmerd.
i tried your fix bij deleting te duplicate addmarkermashupbubble=true
this didnt change the amount of items loaded.i found that using the same plugin and date on a turnkey linux machine give more and less items then my live site.
making me think it has something to do with both the duplicate and php.ini settings like max execution time and memory load. im gonna try some stuff on the turnkey machine with more memory and time settings to see if it works.
ill let you all know how it turns out.
greets
themc
hello i.
not entirely… i have the same probs but with my live site i ahve 35 posts max.
with my test site i also get around 20.
trying to increase the executable times and extra space in the php.ini might work a bit but it wont solve this. do you still have this problem?
quick summary:
copy the code from http://pastebin.com/vFjZTutj and add it to your cgmp.framework.min.js (make sure its the min one) (overwritte the entire page with the code from pastebin) the save.
you can find the file in the assets folder then js.
geolocation should now work.
to zoom in after geo is found:
after map.setCenter(pos); add map.setZoom(18); to zoom on location when location is found.map.setCenter(pos);
map.setZoom(18);to change the geoballoon text.
edit the content: ”Location found using HTML5′ in
var infowindow = new google.maps.InfoWindow({
map: map,
position: pos,
content: ”Location found using HTML5′
});and btw you can easy moddify the tekst from the balloon by edditing the content: ‘Hier bent U’ in
var infowindow = new google.maps.InfoWindow({
map: map,
position: pos,
content: ‘Hier bent U’
});Forum: Plugins
In reply to: [Comprehensive Google Map Plugin] Geo Mashup limited poststhats the next thing im gonna look into.
plugin isnt updated in a long while so since we need that as well. im gonna look into it.
so far we got geolocation working
http://wordpress.org/support/topic/directions-to-current-google-latitude-location?replies=14
i included the line at the bottom to zoom in on location after it has been found. still working on getting it in point a from directions.
Forum: Plugins
In reply to: [Comprehensive Google Map Plugin] Load ajaxhello Vincent.
the plugin creator is not working on this plugin any more.
i can advise you to look into the assets\js\cgmp.framework.min.js if you wanna test with some javascript.
the plugin creator wont respond. i guess his support died out.
look at this thread instead i can get you started, we had the same problems so far.
http://wordpress.org/support/topic/directions-to-current-google-latitude-location?replies=14
after map.setCenter(pos); add map.setZoom(18); to zoom on location when location is found.
map.setCenter(pos);
map.setZoom(18);so geolocation is working next up is a marker and the directions fill. (so point 1 auto fills with location)
your welcome so far.