Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why isn't function getMapCategory() part of Mappable interface? #7

Open
wernerkrauss opened this issue Sep 14, 2011 · 1 comment
Open

Comments

@wernerkrauss
Copy link

Hi Uncle Cheese,

i noticed that markers can be set with a custom category and you also write about the function getMapCategory() in your blog post - but it's not part of the Mappable interface.

Bug or feature?

cheers,

wmk

@unclecheese
Copy link
Owner

Hi, wmk,

A marker is not required to have a category, so therefore that function should not be part of the interface. Technically all markers need a category, but the way the PHP wrapper is designed, if there is no category specified, it just gives the marker some generic category name, so effectively it's not required.


SilverStripe tips, tutorials, screencasts and more: http://www.leftandmain.com

Le Wednesday, September 14, 2011 à 8:29 AM, wernerkrauss a écrit :

Hi Uncle Cheese,

i noticed that markers can be set with a custom category and you also write about the function getMapCategory() in your blog post - but it's not part of the Mappable interface.

Bug or feature?

cheers,

wmk

Reply to this email directly or view it on GitHub:
#7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants