Skip to content
Snippets Groups Projects

Resolve "Rest API should follow google guidlines"

Merged Piotr Gawron requested to merge 90-rest-api-should-follow-google-guidlines into master
2 files
+ 16
0
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -170,6 +170,7 @@ AbstractDbOverlay.prototype.searchByEncodedQuery = function(originalQuery, fitBo
} else if (query.type === AbstractDbOverlay.QueryType.SEARCH_BY_TARGET) {
return this.searchNamesByTarget(query.target);
} else if (query.type === AbstractDbOverlay.QueryType.SEARCH_BY_COORDINATES) {
query.coordinates = new google.maps.Point(query.coordinates.x,query.coordinates.y);
return this.searchByCoordinates(query);
} else {
throw new Error("Unknown type of query: " + query.type);
Loading