@@ -0,0 +1,1576 @@
+package hu.supercluster.overpassapiquery.app.activity.container;%0A%0Aimport com.google.android.gms.maps.model.LatLngBounds;%0A%0Aimport org.androidannotations.annotations.Bean;%0Aimport org.androidannotations.annotations.EBean;%0A%0Aimport hu.supercluster.overpassapiquery.library.query.OverApiQuery;%0Aimport hu.supercluster.overpassapiquery.adapter.OverApiResult;%0Aimport hu.supercluster.overpassapiquery.adapter.OverPassServiceProvider;%0A%0Aimport static hu.supercluster.overpassapiquery.library.outputparam.OverPassOutputFormat.JSON;%0A%0A@EBean%0Apublic class MapOverpassApiAdapter %7B%0A    @Bean%0A    OverPassServiceProvider serviceProvider;%0A%0A    public OverApiResult search(final LatLngBounds bounds) %7B%0A        OverApiQuery query = new OverApiQuery()%0A                .format(JSON)%0A                .timeout(30)%0A                .mapQuery()%0A                    .nodes()%0A                    .amenity(%22toilets%22)%0A                    .notEquals(%22access%22, %22private%22)%0A                    .boundingBox(%0A                            bounds.southwest.latitude,%0A                            bounds.southwest.longitude,%0A                            bounds.northeast.latitude,%0A                            bounds.northeast.longitude%0A                    )%0A                .end()%0A                .output(100)%0A        ;%0A%0A        return interpret(query.build());%0A    %7D%0A%0A    private OverApiResult interpret(String query) %7B%0A        try %7B%0A            return serviceProvider.get().interpreter(query);%0A%0A        %7D catch (Exception e) %7B%0A            e.printStackTrace();%0A%0A            return new OverApiResult();%0A        %7D%0A    %7D%0A%7D

Add MapOverpassApiAdapter