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

PHP/Mapscript: no way to unset a template of a layer #4443

Merged
merged 1 commit into from
Sep 6, 2012
Merged

PHP/Mapscript: no way to unset a template of a layer #4443

merged 1 commit into from
Sep 6, 2012

Conversation

tbonfort
Copy link
Member

@tbonfort tbonfort commented Sep 6, 2012

I think it is no more possible to unset the template property of a layer using PHP/mapscript:

getLayer(0); $layer ->set('template', null); $map->save('your_path/your_new_mapfile.map'); ?>

The layer new mapfile contains:
TEMPLATE ""
whereas with MS 5.x it doesn't contains this line.

Edit : I can't set milestome (MS 6.0.1) and labels, sorry...

@ghost ghost assigned aboudreault Sep 5, 2012
aboudreault pushed a commit that referenced this pull request Sep 6, 2012
PHP/Mapscript: no way to unset a template of a layer
@aboudreault aboudreault merged commit 6bf40fd into MapServer:branch-6-2 Sep 6, 2012
mkofahl pushed a commit to faegi/mapserver that referenced this pull request Apr 9, 2013
mkofahl pushed a commit to faegi/mapserver that referenced this pull request Apr 9, 2013
PHP/Mapscript: no way to unset a template of a layer
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

Successfully merging this pull request may close these issues.

None yet

2 participants