Overpass popup patch

Tom Hughes tom at compton.nu
Fri Jan 18 12:19:27 GMT 2013

On 18/01/13 12:15, Roland Olbricht wrote:

> Concerning scalability: The current instance has in live tests accomplished about 100 database requests per second with requests similar to the requests we expect. I expect that this is an order of magnitude more than we will need when exposed on the home page. Even if this doesn't suffice, further instances simply multiply the capacity, because there are no interdependencies between multiple instances.

Well another question that arises once we have our own instance is 
whether to allow it to be used generally or whether to try and limit it 
to only being used to back the home page.

>> Design wise we would need to think about how this behaviour should be
>> triggered as currently it looks like you are capturing every click on
>> the map which doesn't sound like it would be a reasonable thing to do.
> Thank you for the feedback. I assume from the description that a mouse click anywhere on the map should open a popup, or do we want to restrict it somehow further? What other event can the action be bound to?

Well my point was that from reading your patch it looked like that was 
the current design (any click opens a popup) but I imagine we would want 
something more subtle than that, depending on exactly when leaflet fires 
a click event.


Tom Hughes (tom at compton.nu)

More information about the rails-dev mailing list