Skip to content
This repository has been archived by the owner on Aug 13, 2022. It is now read-only.

Getting Lon and Lat from Map, not from Adress #10

Open
hvorragend opened this issue Jul 23, 2011 · 0 comments
Open

Getting Lon and Lat from Map, not from Adress #10

hvorragend opened this issue Jul 23, 2011 · 0 comments

Comments

@hvorragend
Copy link
Member

Wouldn't it be useful to have the ability of selecting a point on a map instead of automated geocoding by adress? Sometimes locations don't have an adress, like soccer grounds or monuments. There are also Locations with wrong adresses (housenumbers) in google maps.

Changed 3 years ago by arg

Owner set to arg
Priority changed from minor to major
Status changed from new to accepted

I am not too sure if an address DB is the right place for things that don't have an address. But I will be thinking about it ;-)
comment:2 Changed 3 years ago by arg

Milestone set to 1.5

comment:3 Changed 2 years ago by slam

It does make sense a lot.

E.g. at http://technikweblook.com/ we use the module as a database for international trade fares around the world (together with pgCalendar and Pagesetter), and made the experience that everything out of Europe, the US and Japan does not work with adresses. Gmap simply does not find many adresses there (yet). Additionally, it often comes up with the wrong spot (specially if there are more than one entries in Gmap for this address), and needs manual adjustments.
Greetings,
Chris
Changed 15 months ago by herr.vorragend

attachment admin.lat.lon.html Download added

Get Lat Lon Finder
comment:4 Changed 15 months ago by herr.vorragend

Get Latitude and Longitude with Google Maps V3
http://www.ramirezcobos.com/2010/01/22/get-latitude-and-longitude-with-google-maps-v3/
comment:5 Changed 15 months ago by herr.vorragend

Maptimize.AddressChooser?
http://addresschooser.maptimize.com/example/with_prototype.html
comment:6 Changed 15 months ago by herr.vorragend

We have to add a "switch" how the module should get the "lat/long" values:

use manual input
calculate values based on the address 

comment:7 Changed 11 months ago by espaan

Hey, with geocoding in googlemaps api JS v3 you could just make it an option, or use the address or click on the map (like being done in Content as well, there it works fine to get coordinates from the map).

See also the current googlemap js v3 in Content ( http://github.com/zikula-modules/Content/blob/release-3.2.x/src/modules/Content/pntemplates/contenttype/googlemap_edit.html) . Carsten also already had a patch I see :-)
Last edited 11 months ago by espaan (previous) (diff)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant