jmelosegui / GooglemapMvc

The control wraps Google maps API simplifying the use of Google maps in ASP.NET MVC applications.
MIT License
116 stars 61 forks source link

Places Autocomplete #73

Open ashutosh-chauhan opened 9 years ago

ashutosh-chauhan commented 9 years ago

hi, i am using this api in my application and its works great but i have some concern about how to use "Places Autocomplete TextBox" with this control, i am not find any example related this.

kgarsuta commented 8 years ago

Any luck with this?

jmelosegui commented 8 years ago

This is not implemented in the control. I will try to look into it as soon as I can.

Thanks for your feedback

kgarsuta commented 8 years ago

Thanks, I look forward to it

gcapnias commented 8 years ago

In order to help on this:

The problem I tried to overcome is to provide the '&libraries=places' on the google apis script, in order to load the library. I forked the project, but for some reason I cannot compile it.

I would suggest to create a new method in order to provide support for the 'libraries" part, for the google apis script registration.

Having the ability to load a library, would help to implement features that they are currenlty not supported.

jmelosegui commented 8 years ago

Hi @gcapnias,

Thank for all your input in this project. I really appreciate it.

I forked the project, but for some reason I cannot compile it.

Could you share the error message? Maybe I can try to help you with that (If you want we can use https://gitter.im/jmelosegui/GooglemapMvc).

I would suggest to create a new method in order to provide support for the 'libraries" part, for the google apis script registration.

Maybe a new issue to track this down?

Having the ability to load a library, would help to implement features that they are currently not supported.

Totally agree. And I would love to review and accept any PR (right now I am not putting to much work into this control).

gcapnias commented 8 years ago

I realized the it was a VS2015 project - I have made a pull request for you.

I have created a Libraries property of the map control, in order to be able to load Google Maps libraries.

In order to prove the functionality, I have created two new examples, Places search box and Drawing tools.

jmelosegui commented 8 years ago

@ashutosh-chauhan @kgarsuta

Thanks to @gcapnias we now have a way to workaround the lack of this feature using the "mvc way".

See this for more detail.

jmelosegui commented 8 years ago

I will leave this open until we have an mvc implementation, though.

dnxit commented 8 years ago

I tried Nuget 0.8 and 0.8.16 beta as well but .Libraries("") property is not there can you please upgrade the Nuget package with that property

jmelosegui commented 8 years ago

Hi @afzalgujrat

I know that is something I have pending. In the meantime, you can use the self-service-releases.