Tag Info

New answers tagged

2

The actual answer is a mixture of the other answers/comments you've already received. MySQL is limited I see from the tags you're using MySQL, the problem is, it can only do bounding boxes until 5.6, not the actual geometries. http://dev.mysql.com/doc/refman/5.0/en/spatial-relation-functions.html If you want to use the bounding box: SELECT * FROM `test` ...


2

From the longitude and latitude coordinates, you can create spatial structures (Points) in your (spatial) database, like PostGIS. (see ST_GeomFromText) Instead of your bussId | longitude | latitude, you would have a bussId, Point database called BussSpatial. You can then just query the following var request = 'SELECT bussID FROM BussSpatial ...


1

The bounding box query for SQL is(Using PDO) $sql ="SELECT bussid FROM tablename WHERE(latitude BETWEEN ? AND ? )AND (longitude BETWEEN ? AND ?)"; $stmt = $dbh->prepare($sql); // Assign parameters $stmt->bindParam(1,$minLat); $stmt->bindParam(2,$maxLat); $stmt->bindParam(3,$minLng); $stmt->bindParam(4,$maxLng); WHERE parameters come from ...


0

OSM has a very powerful API and the cost is $0.00 per year and $0.00 per year after that. Enterprise use is the same cost. Do you mean ESRI Javascript API? If not you missed ESRI.


0

Try this iframe src: http://mapsengine.google.com/map/u/0/embed?mid=zYk_BmXXTdxw.k83snDbX5SJc&z=15 z=15 "GET" parameter for zoom level. Edit as your need.


0

Harshit, this is a bit of an open-ended question where I'm not sure what is your current setup, what technologies are you using or going to use, etc. Perhaps if give us more details, we can help you more specifically. With such a general question, I give you a general answer: Both HERE and Google Maps have JS APIs. I would start with studying those: HERE: ...


2

it seems you can use a &z=nn parameter now Try this: <iframe src="http://mapsengine.google.com/map/u/0/embed?mid=zYk_BmXXTdxw.k83snDbX5SJc&z=9" width="745" height="480"></iframe>



Top 50 recent answers are included