Code Monkey home page Code Monkey logo

Comments (7)

branflake2267 avatar branflake2267 commented on July 17, 2024

Try mvn eclipse:eclipse and see if that cleans the .project file?

from gwt-maps-v3-api.

cancerberoSgx avatar cancerberoSgx commented on July 17, 2024

No it did not. also tried eclipse:clean and then eclipse:eclipse again. I'm not a regular maven user. I only wanted to import your project using eclipse egit like you describe in your docs, and I think this issue it is easily fixable just changing .project file from

<name>gwt-maps-api-v3</name>

to

<name>GWT-Maps-V3-Api</name>

(name copied and pasted exactly the same as github's)

from gwt-maps-v3-api.

cancerberoSgx avatar cancerberoSgx commented on July 17, 2024

thinking the same should happen with other OSes like mac, solaris, etc....

from gwt-maps-v3-api.

branflake2267 avatar branflake2267 commented on July 17, 2024

Ah, case is wrong... hmmm, I'm on a mac, but my os is not case sensitive, wish it came that way, like ubuntu.

from gwt-maps-v3-api.

branflake2267 avatar branflake2267 commented on July 17, 2024

Want to pull that change. I won't be able to get to that until I'm finished with my job. :)

from gwt-maps-v3-api.

cancerberoSgx avatar cancerberoSgx commented on July 17, 2024

yes exactly a wrong case problem... hugh, i thought macs were case senitive... thank you very much, there is no rush, then I'm planing to pull request two classes with all those hundreds of places types names as java constants, like PlaceTypes.embassy or String[] PlaceTypes.ALLTYPES. This is working nice:

LatLng clickLocation = event.getMouseEvent().getLatLng(); 
PlaceSearchRequest req = PlaceSearchRequest.newInstance(); 
req.setLocation(clickLocation); 
req.setRaidus(50000); 
req.setTypes(PlaceTypes.embassy);

PlacesService placeService = PlacesService.newInstance(mapWidget);
placeService.search(req, new PlaceSearchHandler() {                 
    @Override
    public void onCallback(JsArray<PlaceResult> results,
            PlacesServiceStatus status) {
        Window.alert("embassies found in the area : "+results.length()); 
    }
});                         

from gwt-maps-v3-api.

branflake2267 avatar branflake2267 commented on July 17, 2024

Nice job :)

from gwt-maps-v3-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.