android - How to create a marker only drawable into the bounds of the circle area? -


i need show marker bounds of drawn circle area precision of location. draw of circle no problem limits of draggable area no possible me.

thanks in advance.

you cannot limit draggable area using api.

your options are:

  1. saving marker position when drag starts, checking when ends , reverting if outside
  2. same above checking in drag callbacks, looks weird if try setposition in ondrag (notice marker blinks if didn't setposition)
  3. posting feature request on gmaps-api-issues

Comments

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Automatically create pages in phpfox -

c# - Farseer ContactListener is not working -