![]() |
Cosmetic change: fix of marker appearance in location editor. It will always look like the vbGoogleMap red marker, rather than Google Maps's default marker. Assumes the line numbering of the previous fix.
In product-vbgooglemapme.xml: Line 863: map.addOverlay(new GMarker(point, icon)); to map.addOverlay(new GMarker(point, {icon:icon})); Line 877: map.addOverlay(new GMarker(point)); to map.addOverlay(new GMarker(point, {icon:icon})); ETA: Another cosmetic change: fix of marker position on map: Change all occurrences of icon.iconAnchor = new GLatLng(...); icon.infoWindowAnchor = new GLatLng(...); to icon.iconAnchor = new GPoint(6, 20); icon.infoWindowAnchor = new GPoint(8, 1); Coordinates are left-to-right, top-to-bottom. |
lpetrich,
Since you obviously have the map working, do you think you could read posts 797-800 above and see if you could help us out with getting it going on 3.7.3. It seems to be a common problem and some of us are curious as to where we're going wrong with the install/configuration so that none of our pointers show up. Thanks for any insight you can provide. Buster |
You'd implemented ZeroHour's fix, I guess -- that's what I had done, and it had worked for me.
I had also edited markers.xml to get rid of troublesome XML-breaking characters in it, getting rid of ? and & and the like. If you have Firefox, you can do some debugging with it by selecting Tools > Error Console Any HTML, CSS, or JavaScript errors will show up there. If you are more adventurous, you can go to the Firefox add-ons page and install the JavaScript debugger and try to use it to see what's happening. |
Yeah, I had done ZeroHour's fix to no avail. I also stripped down the xml file so the first line is <markers>, the next 2 lines are 2 markers I created on the map, then the file closes with </markers> Still doesn't load them on the main map. But, you can see the marker when you select "Your entry" which is odd.
When I ran Firefox's error console, it gave to errors in the css for "word-wrap" saying it was an unknown property and the declaration was dropped. |
You could try displaying markers.xml in your web browser: <forum root address>/markers.xml
That will show what your browser "thinks" it is, and perhaps purge the browser's cached version of markers.xml I remember editing it once, but some time after that, it got some bad image links again, so markers.xml may be created from the database. I think that it gets periodically re-created by vbGoogleMap's cron job; it also gets re-created after an entry creation or edit. So you could go to Admin CP > Vbgooglemap ME > ME Full View and edit the possibly-troublesome entries, using markers.xml as a guide. By the time you read this, that cron job had likely restored markers.xml to the database value; you can run it again by going to Admin CP Scheduled Tasks > Scheduled Task Manager > Googlemap ME Cron and pressing "Run Now". The two vbGoogleMap data tables in the database are: googlemapme googlemapme_settings So you can try deleting those if you get desperate. |
Some knowledgeable people here. A question if you do not mind. My site is in UTF-8 encoding in Cyrillic. Everything is good but tooltip encoding is messed up. Any suggestions on how to fix that?
Thank You |
Seems like some trouble in generating the HTML for the info bubbles.
Here's a kludge that will work: Enter the Cyrillic text or special characters as HTML entities when editing an entry, characters in this form: &#<decimal>; or &#x<hexadecimal>; or &<name>; It should be displayed in the info bubbles correctly. However, it'll get displayed as the translated characters the next time you go edit. Digging in the plugin code for how to take care of this mess will be rather difficult for me, however. However, I've prepared a kludge: Create a translator page with this HTML code HTML Code:
<script type="text/javascript" language="javascript"> |
Quote:
|
Rend Sever and MediaHound, had you tried ZeroHour's fix? It's post 697 here.
And when you run it, be sure to go to "Scheduled Tasks" in the AdminCP and run the vbGoogleMap cron job to refresh markers.xml You can see if it has bad HTML by getting <forum root>/markers.xml on your web browser, and you can find out where the page execution bombs out with Firefox Tools > Error Console. |
Quote:
|
All times are GMT. The time now is 01:07 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|