chrisVHI wrote:
> Hi,
> I am building a simple exhibit map to allow users to enter their
> address and find physicians/hospitals nearby. see
> http://dev.vhi.org/maptest.html
>
> I think that I am making a very simple mistake in the code. Can
> anyone see what it is? I've searched and searched to find examples of
> geocoding with exhibit and haven't had much luck.
>
There's a bit of code in
http://api.simile-widgets.org/exhibit/2.2.0/extensions/map/scripts/map-view.js
that you might find relevant. Search for
Exhibit.MapView.lookupLatLng
You should see how a geocoder gets created, and then how it's used. The
code actually resolves several addresses, which makes it complicated.
But if you just want to resolve one address, it's not too bad.
Hope that helps.
David
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SIMILE Widgets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/simile-widgets?hl=en
-~----------~----~----~----~------~----~------~--~---