Hi

Thanks for an awesome module - so useful.

Since updating to the dev I get the following warning on my maps
IP Geolocation: field_trader_gps does not appear in the Views result set or its lat/lng values could not be found.

The maps read the co-ordinates correctly and display the markers on the map but the warning stays.

The field is a geofield 7.x-2.0-alpha2+6-dev and it was working perfectly until I updated to the dev.

I understand that things are often broken in dev and thought I would point out this warning

CommentFileSizeAuthor
#2 Map with missing coords.jpg802.39 KBrdeboer

Comments

rdeboer’s picture

Assigned: Unassigned » rdeboer

Thanks for living on the bleeding edge, trying dev versions, Greg!
If we more people did that we'd get to stable bug-free versions quicker.
I'll look into this on the tram to work today.
Rik

rdeboer’s picture

Title: Warning message » Warning message when lat/long coords are missing from View
StatusFileSize
new802.39 KB

So, I **think** I know what's happening here... Some of your nodes have Geofields properly filled out and some don't and with lat/long misssing can't be put on the map.
If this is indeed the case I suggest you add a "check for empty" filter on your View.

To pinpont this sort of stuff I tend to append on the same page as the map a second View Display, known as an Attachment. It's identical to the first, but has its format changed from "Map (...., via IP Geoloc)" to "Table".

With my latest check-in, available as 7.x-1.x-dev in a few hours, I've made the error message a bit clearer by specifying the first row in your View that has its lat/long coordinates missing and also quoting the total number of rows that don't have coordinates.

See the attached screenshot.
Map with some missing coords

masher’s picture

I can confirm adding a filter ( Content: geofield:lat (not empty) ) pervents the error message.

Many thank for a excellent module, liking the new tooltip feature!

rdeboer’s picture

Status: Active » Fixed

yay!

iaminawe’s picture

Thanks - fixes it for me too - I appreciate the response.

rdeboer’s picture

Thanks iaminawe, fix is part of 7.x-1.20.
The warning only shows when logged in as super admin, uid=1
No point in having the general public see those messages.
Rik

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.