L
L
limpopo19922015-04-14 19:22:16
JavaScript
limpopo1992, 2015-04-14 19:22:16

How can I refer to the width and longitude returned by ymap.geocode("")?

This is how I turn to the geocoder.

var geocoder = new ymaps.geocode('"'+b[p].Adress+'"');

How now to pull out the coordinates of the point?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
keslo, 2015-04-14
@limpopo1992

I only see documentation for YMaps.Geocoder(request, options)...
Perhaps you missed the R at the end in geocode?

F
forgotten, 2015-04-15
@forgotten

res.geoObjects.get(0).geometry.getCoordinates()
https://tech.yandex.ru/maps/jsbox/2.1/direct_geocode

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question