I am using gmap, views, locations, and a custom node type that we created. We have our views set up and working displaying the node title, street, postal code. When we try to just enable node title and "Location: Address" and we go to view our map, nothing is rendered. I looked at the page source of the page where our map usually shows up and all the marker data is in there and appears to be valid. I tried tracing back the handler "location_views_field_handler_address" to see if it was a really ovbious problem but I had no luck. Our custom node was not made with cck or flexinode, I don't know if you really need to know that. Most everything else seems to work at the moment. If you need to see any part of our site to help determine the issue please let me know.

Thanks,

Matt

CommentFileSizeAuthor
#1 crimemap.html.txt10.4 KBmpare

Comments

mpare’s picture

StatusFileSize
new10.4 KB

Ok, when I got to work I tested the map with the Location: address field added to the views. On my mac at home I didn't get any display errors. On my work computer I do. I don't know if this is helpful. I viewed the source and it was just that a line terminator ';' was missing. However the terminator was only missing off the first entry. I have attached the source for the rendered page. Location: address is not the only field being displayed but the page acts the same even if it is. I have also attached the screen shot of the error. The error says:

"Line: 111
Char: 193
Error: Unterminated String Constant
Code: 0
URL: http://geocrimes.com/?q=crimemap"

Your help is deeply appreciated.

-Matt

mpare’s picture

After investigating the problem more I think this should be moved to g_map instead, however I do think it is something for location_module users to be aware of.

bdragon’s picture

Status: Active » Closed (fixed)

Closing, so much of this stuff has been rewritten that I can't imagine this still applies.